
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGSolidBackground.h>
#include <OpenSG/OSGSolidBackgroundBase.h>
#include <OpenSG/OSGDrawAction.h>
#include <OpenSG/OSGViewport.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_SolidBackground_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_SolidBackground()
{
    scope* osg_SolidBackgroundBase_scope = new scope(
    class_< osg::SolidBackgroundBase, bases< osg::Background > , boost::noncopyable >("SolidBackgroundBase", no_init)
        .def_readonly("ColorFieldMask", &osg::SolidBackgroundBase::ColorFieldMask)
        .def_readonly("MTInfluenceMask", &osg::SolidBackgroundBase::MTInfluenceMask)
        .def("getClassType", &osg::SolidBackgroundBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::SolidBackgroundBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::SolidBackgroundBase::*)() )&osg::SolidBackgroundBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::SolidBackgroundBase::*)() const)&osg::SolidBackgroundBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::SolidBackgroundBase::getContainerSize)
        //.def("getColor", (osg::Color3f& (osg::SolidBackgroundBase::*)() )&osg::SolidBackgroundBase::getColor, return_value_policy< copy_const_reference >())
        .def("getColor", (const osg::Color3f& (osg::SolidBackgroundBase::*)() const)&osg::SolidBackgroundBase::getColor, return_value_policy< copy_const_reference >())
        .def("setColor", &osg::SolidBackgroundBase::setColor)
        .def("getBinSize", &osg::SolidBackgroundBase::getBinSize)
        .def("copyToBin", &osg::SolidBackgroundBase::copyToBin)
        .def("copyFromBin", &osg::SolidBackgroundBase::copyFromBin)
        .def("create", &osg::SolidBackgroundBase::create)
        .def("createEmpty", &osg::SolidBackgroundBase::createEmpty)
        .def("shallowCopy", &osg::SolidBackgroundBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("ColorFieldId") = (int)osg::SolidBackgroundBase::ColorFieldId;
    scope().attr("NextFieldId") = (int)osg::SolidBackgroundBase::NextFieldId;

    delete osg_SolidBackgroundBase_scope;

    class_< osg::SolidBackground, bases< osg::SolidBackgroundBase > , boost::noncopyable, osg::SolidBackgroundRefPtr >("SolidBackground", no_init)
        .def("getClassname", &osg::SolidBackground::getClassname)
        .def("clear", &osg::SolidBackground::clear)
        .def("changed", &osg::SolidBackground::changed)
        .def("dump", &osg::SolidBackground::dump, osg_SolidBackground_dump_overloads_0_2())
        .staticmethod("getClassname")
    ;


    register_ptr_to_python<osg::SolidBackgroundPtr>();
    implicitly_convertible<osg::SolidBackgroundRefPtr, osg::SolidBackgroundPtr>();
    implicitly_convertible<osg::SolidBackgroundPtr, osg::BackgroundPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::SolidBackgroundPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::SolidBackgroundPtr>);
}

